//
//  UIView+HUD.h
//  DDLock
//
//  Created by ios on 2017/12/26.
//  Copyright © 2017年 saiyi. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, kAnimationType) {
    kAnimationType_FADE = 0,
    kAnimationType_ZOOM
};

@interface UIView (HUD)

#pragma mark - 纯文字提醒
+ (void)showTipsWithText:(NSString *)str;
+ (void)show:(kAnimationType)type text:(NSString *)str;
+ (void)show:(kAnimationType)type text:(NSString *)str view:(UIView *)view;

#pragma mark - 自定义图片提醒
+ (void)showWithImageName:(NSString *)name text:(NSString *)str;
+ (void)show:(kAnimationType)type imageName:(NSString *)name text:(NSString *)str;
+ (void)show:(kAnimationType)type imageName:(NSString *)name text:(NSString *)str view:(UIView *)view;

#pragma mark - 自定义图片加载动画提醒
+ (void)showLoadingImageName:(NSString *)name text:(NSString *)str;
+ (void)showLoading:(kAnimationType)type imageName:(NSString *)name text:(NSString *)str;
+ (void)showLoading:(kAnimationType)type imageName:(NSString *)name text:(NSString *)str view:(UIView *)view;
+ (void)hideForView:(UIView *)view;


@end
